Auto merge of #4816 - alexcrichton:fix-workspace-is-home, r=matklad
authorbors <bors@rust-lang.org>
Wed, 13 Dec 2017 21:22:53 +0000 (21:22 +0000)
committerbors <bors@rust-lang.org>
Wed, 13 Dec 2017 21:22:53 +0000 (21:22 +0000)
commit9d05f7e5761cf185cb30b96ec3ce75748b3b1b3e
tree2c2af6930d1a679421885162fd61cc2854c24c9e
parentbda218fa62600193702f9a4d5eb7d325ce7328b5
parent4f28bc1aac90c3764aa188d4a63a0e9771ccbc30
Auto merge of #4816 - alexcrichton:fix-workspace-is-home, r=matklad

Defer bailing out workspace root probing

This commit alters the logic to bail out on probing for `CARGO_HOME` to
do it a little later rather than early on in the loop iteration, notably
allowing members to reside in `CARGO_HOME` itself.

Closes #4815